﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{ 
    /// <summary>
    /// 门店实体
    /// </summary>
    public class ShopModel
    {
        /// <summary>
        /// 门店Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        ///  门店名称
        /// </summary>
        public string? ShopName { get; set; }
        /// <summary>
        ///  门店电话
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? Adderss { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? Photo { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }= DateTime.Now;

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;

    }
}
